﻿<?php
chdir('../');
include 'material.php';

$val=add_material($_GET['name'],$_GET['type'],$_GET['price']);
echo $val;
echo('<meta http-equiv="Refresh" content="0;url=../views/materials.php">');

?>